name = input()
hours_worked = input()
pay_rate = input()
Federal_tax_withholding_rate = input()
state_tax_withholding_rate = input()
print('Employee Name: ' + name)
print('Hours Worked: ' + hours_worked)
print('Pay Rate: $' + pay_rate)
print('Gross Rate: $' + str(eval(pay_rate) * 10))
print('Deductions:')
Federal_Withholding = eval(hours_worked) * eval(pay_rate) * eval(Federal_tax_withholding_rate)
print(' Federal Withholding (' + format(eval(Federal_tax_withholding_rate),'.1%') + '): $' + str(Federal_Withholding))
State_Withholding = eval(hours_worked) * eval(pay_rate) * eval(state_tax_withholding_rate)
print(' State Withholding (' + format(eval(state_tax_withholding_rate),'.1%') +'): $' + str(State_Withholding))
Total_Deduction = Federal_Withholding + State_Withholding
print(' Total Deduction: ' + str(Total_Deduction))
print('Net Pay: $' + str(eval(pay_rate) * 10 - Total_Deduction))